<div class="wide form">

    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'action' => Yii::app()->createUrl($this->route),
        'method' => 'get',
            ));
    ?>

    <div class="row">
        <?php echo $form->label($model, 'lastname'); ?>
        <?php echo $form->textField($model, 'lastname', array('size' => 60, 'maxlength' => 64)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'firstname'); ?>
        <?php echo $form->textField($model, 'firstname', array('size' => 60, 'maxlength' => 64)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'city'); ?>
        <?php echo $form->textField($model, 'city', array('size' => 60, 'maxlength' => 64)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'address'); ?>
        <?php echo $form->textField($model, 'address', array('size' => 60, 'maxlength' => 64)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'end_of_substriction'); ?>
        <?php echo $form->textField($model, 'end_of_substriction'); ?>
    </div>

    <div class="row buttons">
        <?php echo CHtml::submitButton('Keresés'); ?>
    </div>

    <?php $this->endWidget(); ?>

</div><!-- search-form -->